nextjs window.history.pushstate